package com.ruoyi.dynamic.model.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 房间权限
 * </p>
 *
 * @author Gnc
 * @since 2025-01-14
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("youban_room_permission")
@ApiModel(value = "RoomPermission对象", description = "房间权限")
public class RoomPermission implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("唯一id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("名称")
    private String name;
}
